Magnetic Pulsed Mechanical Oscillator